Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing NURB Patches


Q3NURBPatch_GetControlPoint

You can use the Q3NURBPatch_GetControlPoint function to get a control point for a NURB patch.

TQ3Status Q3NURBPatch_GetControlPoint (
TQ3GeometryObject nurbPatch, 
unsigned long rowIndex, 
unsigned long columnIndex, 
TQ3RationalPoint4D *point4D);
nurbPatch
A NURB patch.
rowIndex
A row index into the array of control points for the specified NURB patch.
columnIndex
A column index into the array of control points for the specified NURB patch.
point4D
On exit, the control point having the specified row and column indices in the controlPoints array of control points for the specified NURB patch.
DESCRIPTION
The Q3NURBPatch_GetControlPoint function returns, in the point4D parameter, the four-dimensional control point of the NURB patch specified by the nurbPatch parameter having the row and column indices rowIndex and columnIndex in the controlPoints array of control points.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996